package com.zone.domain.credit.model.entity;

import com.zone.domain.credit.model.valobj.TradeTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author: zongzi
 * @description: 积分调整入参
 * @date: 2025/3/11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserCreditAdjustAmountEntity {
    /** 用户id */
    private String userId;
    /** 交易名称 */
    private String tradeName;
    /** 交易类型（新增积分/扣减积分） */
    private TradeTypeEnum tradeTypeEnum;
    /** 交易金额 */
    private BigDecimal amount;
    /** 业务仿重ID - 外部透传。返利、行为等唯一标识 */
    private String outBusinessNo;
}
